package com.hospital.workstation.domain.bo;

import com.hospital.common.core.validate.AddGroup;
import com.hospital.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hospital.common.core.domain.BaseEntity;

/**
 * 电子监测管理信息业务对象 electronic_manager_info
 *
 * @author whb
 * @date 2024-04-30
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ElectronicManagerInfoBo extends BaseEntity {

    /**
     * 主键id
     */
    //@NotNull(message = "主键id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 患者流水号
     */
    //@NotNull(message = "患者流水号不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer medicalRecordNo;

    /**
     * 监测表id
     */
    //@NotNull(message = "监测表id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long monitorId;

    /**
     * 监测表流水号
     */
    //@NotNull(message = "监测表流水号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String monitorRecordNo;

    /**
     * 表名称（0A表 监测信息表 1B表 药品不良反应/事件报告表）
     */
    //@NotBlank(message = "表名称（0A表 监测信息表 1B表 药品不良反应/事件报告表）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String monitorTableType;

    /**
     * 入组日期
     */
    //@NotNull(message = "入组日期不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date inputFormDate;

    /**
     * 是否已入组（0未入组 1已入组）
     */
    //@NotBlank(message = "是否已入组（0未入组 1已入组）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String isInputForm;


}
